<#if classPath??>
package ${classPath};
</#if>
import ${classPathShort}.model.${Entity};
import ${classPathShort}.model.dto.${DTO};
import com.cloume.commons.rest.response.RestResponse;
import org.springframework.data.domain.Page;
import java.util.List;

public interface ${Service} {

        public ${List}<${Entity}> findAll${Entity}();

        public ${Entity}  find${Entity}ById(${idType} id);

        public Page<${Entity}> find${Entity}ByPage( ${DTO}  ${DTO ? uncap_first});

        public ${Entity} add${Entity}(${DTO} ${DTO ? uncap_first});

        public ${Entity} update${Entity}( ${DTO} ${DTO ? uncap_first});

        public void delete${Entity}(${List}<${idType}> ids);



}